#!/bin/bash
set -x
rm -f $II/whyc $II/whycp
echo "original parms=$*" 2>&1 | tee $II/whycp
if [[ "$1" = "-a" ]] ; then
	shift 1
	tapp="-a"
	echo "\$mycdsvnp=$mycdsvnp
new parms=$*" | tee -a $II/whycp
else
	tapp=""
fi
cp $II/whyc $II/whycp
$ANT_HOME/bin/ant $* 2>&1 | tee $tapp -a $II/whyc
